package cn.factorybox.model.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author flypig
 * @version 1.0
 * @date 2020-03-04 11:32
 */
public class Device implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;      //设备id
    private String fSerialNumber;      //设备编号
    private double fLongitude;      //设备经度
    private double fLatitude;      //设备维度
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date fCreateTime;      //创建时间
    private String fRemarks;      //备注
    private String fCamera;          //是否含有摄像头

    private String fPass;       // 识别码

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getfSerialNumber() {
        return fSerialNumber;
    }

    public void setfSerialNumber(String fSerialNumber) {
        this.fSerialNumber = fSerialNumber;
    }

    public double getfLongitude() {
        return fLongitude;
    }

    public void setfLongitude(double fLongitude) {
        this.fLongitude = fLongitude;
    }

    public double getfLatitude() {
        return fLatitude;
    }

    public void setfLatitude(double fLatitude) {
        this.fLatitude = fLatitude;
    }

    public Date getfCreateTime() {
        return fCreateTime;
    }

    public void setfCreateTime(Date fCreateTime) {
        this.fCreateTime = fCreateTime;
    }

    public String getfRemarks() {
        return fRemarks;
    }

    public void setfRemarks(String fRemarks) {
        this.fRemarks = fRemarks;
    }

    public String getfPass() {
        return fPass;
    }

    public void setfPass(String fPass) {
        this.fPass = fPass;
    }

    public String getfCamera() {
        return fCamera;
    }

    public void setfCamera(String fCamera) {
        this.fCamera = fCamera;
    }
}
